/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package interfaces;

/**
 *
 * @author Jordyson
 */
public class TelaConsultaReserva extends javax.swing.JInternalFrame {

    /**
     * Creates new form JInternalFrameConsultaReserva
     */
    public TelaConsultaReserva() {
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jLabel1 = new javax.swing.JLabel();
        jbConsultar = new javax.swing.JButton();
        jTextField1 = new javax.swing.JTextField();
        jbAlterar = new javax.swing.JButton();
        jbLimpar = new javax.swing.JButton();
        jbFechar = new javax.swing.JButton();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        jLabel7 = new javax.swing.JLabel();
        jTextField2 = new javax.swing.JTextField();
        jTextField3 = new javax.swing.JTextField();
        jTextField4 = new javax.swing.JTextField();
        jTextField6 = new javax.swing.JTextField();
        jDateChooser1 = new com.toedter.calendar.JDateChooser();
        jDateChooser2 = new com.toedter.calendar.JDateChooser();

        setClosable(true);
        setIconifiable(true);
        setMaximizable(true);
        setResizable(true);
        setTitle("Consulta de Reservas");
        getContentPane().setLayout(null);

        jLabel1.setText("Digite o Nº da Reserva :");
        getContentPane().add(jLabel1);
        jLabel1.setBounds(40, 19, 150, 30);

        jbConsultar.setText("Consultar");
        jbConsultar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbConsultarActionPerformed(evt);
            }
        });
        getContentPane().add(jbConsultar);
        jbConsultar.setBounds(410, 20, 120, 30);

        jTextField1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTextField1ActionPerformed(evt);
            }
        });
        getContentPane().add(jTextField1);
        jTextField1.setBounds(180, 20, 160, 30);

        jbAlterar.setText("Alterar Reserva");
        jbAlterar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbAlterarActionPerformed(evt);
            }
        });
        getContentPane().add(jbAlterar);
        jbAlterar.setBounds(350, 370, 140, 40);

        jbLimpar.setText("Limpar");
        jbLimpar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbLimparActionPerformed(evt);
            }
        });
        getContentPane().add(jbLimpar);
        jbLimpar.setBounds(520, 370, 110, 40);

        jbFechar.setText("Fechar");
        jbFechar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbFecharActionPerformed(evt);
            }
        });
        getContentPane().add(jbFechar);
        jbFechar.setBounds(660, 370, 110, 40);

        jLabel2.setText("Check In :");
        getContentPane().add(jLabel2);
        jLabel2.setBounds(50, 104, 80, 30);

        jLabel3.setText("Check Out : ");
        getContentPane().add(jLabel3);
        jLabel3.setBounds(330, 110, 80, 20);

        jLabel4.setText("Quantidade Quartos :");
        getContentPane().add(jLabel4);
        jLabel4.setBounds(50, 154, 120, 30);

        jLabel5.setText("Quantidade Adultos : ");
        getContentPane().add(jLabel5);
        jLabel5.setBounds(50, 210, 120, 30);

        jLabel6.setText("Quantidade Crianças :");
        getContentPane().add(jLabel6);
        jLabel6.setBounds(320, 210, 140, 30);

        jLabel7.setText("Quarto : ");
        getContentPane().add(jLabel7);
        jLabel7.setBounds(50, 270, 100, 20);
        getContentPane().add(jTextField2);
        jTextField2.setBounds(180, 260, 80, 40);
        getContentPane().add(jTextField3);
        jTextField3.setBounds(180, 150, 80, 40);
        getContentPane().add(jTextField4);
        jTextField4.setBounds(180, 200, 80, 40);
        getContentPane().add(jTextField6);
        jTextField6.setBounds(460, 200, 80, 40);
        getContentPane().add(jDateChooser1);
        jDateChooser1.setBounds(150, 100, 120, 30);
        getContentPane().add(jDateChooser2);
        jDateChooser2.setBounds(420, 100, 120, 30);

        setBounds(0, 0, 815, 493);
    }// </editor-fold>//GEN-END:initComponents

    private void jTextField1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTextField1ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jTextField1ActionPerformed

    private void jbConsultarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbConsultarActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jbConsultarActionPerformed

    private void jbAlterarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbAlterarActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jbAlterarActionPerformed

    private void jbLimparActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbLimparActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jbLimparActionPerformed

    private void jbFecharActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbFecharActionPerformed
        
        this.dispose();
    }//GEN-LAST:event_jbFecharActionPerformed


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private com.toedter.calendar.JDateChooser jDateChooser1;
    private com.toedter.calendar.JDateChooser jDateChooser2;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JTextField jTextField1;
    private javax.swing.JTextField jTextField2;
    private javax.swing.JTextField jTextField3;
    private javax.swing.JTextField jTextField4;
    private javax.swing.JTextField jTextField6;
    private javax.swing.JButton jbAlterar;
    private javax.swing.JButton jbConsultar;
    private javax.swing.JButton jbFechar;
    private javax.swing.JButton jbLimpar;
    // End of variables declaration//GEN-END:variables
}
